import { parseUnits } from "../src/ts/data-unit";

const mockData = [

	{
		"name": "初十",
		"isLunar": true,
		"lastBiddedDate": "2018-07-08 00:00:00",
		"day": 10,
		"cycle": 1,
		"plusDay": 25,
		"plusCycle": 3,
		"budget": 1000,
		"count": 65,
		"biddedCount": 48,
		"amount": 90000,
		"unitCount": 1,
		"description": null,
		"unitBudgets": [
		]
	}
	// {
	// 	"name": "廿十",
	// 	"isLunar": true,
	// 	"lastBiddedDate": "2018-06-03 00:00:00",
	// 	"day": 5,
	// 	"cycle": 1,
	// 	"plusDay": 20,
	// 	"plusCycle": 2,
	// 	"budget": 1000,
	// 	"count": 60,
	// 	"biddedCount": 6,
	// 	"amount": 15000,
	// 	"endDate": null,
	// 	"description": null,
	// 	"unitCount": 1,
	// 	"unitBudgets": [
	// 		{
	// 			"budgetDate": "2018-06-03 00:00:00",
	// 			"budget": 400,
	// 			"isSelf": false
	// 		}
	// 	]
	// }
]

export function getMockData() {
	return parseUnits(mockData);
}